import React from 'react';
import {GForm} from 'geminis-react';

export default () => {
  return (
    <GForm
      schema={{
        data: {
          url: '/'
        },
        fields: {
          properties: {
            username: {},
            custom: {
              'x-component-props': {customValue: '自定义数据'},
            },
          },
        },
      }}
      schemaPath="/form/schema-with-button.json"
    />
  );
};
